package com.sdx.console.promote.dao;

import java.util.List;

import com.ibeetl.admin.core.entity.BaseEntity;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.sdx.console.promote.entity.*;

/**
 * 佣金定义 Dao
 */
@SqlResource("promote.promoteCommission")
public interface PromoteCommissionDao extends BaseMapper<PromoteCommission>{
    public PageQuery<PromoteCommission> queryByCondition(PageQuery query);
    public void batchDelPromoteCommissionByIds( List<String> ids,Integer tenantId);
    public PromoteCommission queryPromoteCommission(Integer orderType,Integer tenantId);
    public BaseEntity selectOrderType(Integer orderType);
}